package com.cw.service;

import com.cw.data.PageBean;
import com.cw.pojo.SpecVO;
import com.cw.pojo.TbSpecification;
import com.cw.pojo.TbSpecificationOption;

import java.util.List;
import java.util.Map;

public interface SpacificationService {
    PageBean<TbSpecification> getSpacificationInfo(Integer pageNumber, Integer pageSize, String sname);

    void addSpec(List<TbSpecificationOption> optionList, TbSpecification tbSpecification);

    SpecVO getOneSpecInfo(Long id);

    void updateSpec(List<TbSpecificationOption> optionList, TbSpecification tbSpecification);

    void deleteSpec(Long[] id);

    List<TbSpecificationOption> getSpecInfo(Long id);

    TbSpecification getSpec(Long id);
}
